package com.sh.data.engine.repository.dao.datadev.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Tolerate;


@TableName("tb_flink_menu_node")
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@Builder
public class FlinkMenuNodeEntity extends EngineBaseModel<FlinkMenuNodeEntity> {

    /**
     * 名称
     */
    private String name;

    private Long pid;

    /**
     * 项目id
     */
    private Long projectId;

    private Integer isSystem;

    /**
     * 目录排序
     */
    private Integer sort;

    /**
     * @see com.xuelangyun.hufu.common.enumDefinition.FlinkNodeTypeEnum
     */
    private Integer nodeType;

    /**
     * 开发模式 0-脚本模式 1-向导模式
     */
    private Integer devType;

    /**
     * 0-解锁 1-加锁
     */
    private Integer isLocked;

    /**
     * 描述
     */
    private String remark;

    private Integer rowState = 1;

    private Integer isPublished;

    @Tolerate
    public FlinkMenuNodeEntity() {
    }
}
